1. Setup

There are several ways to use this library:

  • HTML Import main.html:
    <link rel="import" href="path/to/main.html">
    
  • Or you can import the JS file directly:
    <script src="path/to/main.js"></script>
    
  • If you use the expect pattern of Chai JS, import main_chai_expect.html, or import the plugin under src/plugin/chai-expect.js. If you load the JS file, make sure to import the plugin after importing chai.js.